﻿<Window x:Class="USMC.Net.ParametersWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Параметры" Width="500" Height="250" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <ListBox Grid.Column="0" Grid.Row="0" Name="listBox">
            <ListBoxItem Name="powerItem">Питание</ListBoxItem>
            <ListBoxItem Name="manualItem">Прямое управление</ListBoxItem>
            <ListBoxItem Name="revolutionItem">Датчик оборотов</ListBoxItem>
            <ListBoxItem Name="synchronizationItem">Синхронизация</ListBoxItem>
            <ListBoxItem Name="backlashItem">Мертвый ход</ListBoxItem>
            <ListBoxItem Name="softStartItem">Плавный пуск</ListBoxItem>
        </ListBox>
        <ScrollViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
                      Grid.Row="0" Grid.Column="1">
            <Frame Name="frame" NavigationUIVisibility="Hidden" JournalOwnership="UsesParentJournal" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
            </Frame>
        </ScrollViewer>
        <StackPanel Orientation="Horizontal" Margin="10" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center">
            <Button Name="okButton" HorizontalAlignment="Center" Click="okButton_Click">Принять</Button>
            <Button Name="saveButton" Click="saveButton_Click">Сохранить</Button>
            <Button Name="cancelButton" Click="cancelButton_Click">Отмена</Button>
        </StackPanel>
    </Grid>
</Window>
